package com.zxhhyj.music.logic.database

import androidx.sqlite.driver.bundled.BundledSQLiteDriver
import com.zxhhyj.music.logic.table.WebdavSourceTable
import com.zxhhyj.storm.database.Database

private val database by lazy {
    Database(BundledSQLiteDriver().open("app_database.db")).apply {
        createTable(WebdavSourceTable, false)
    }
}

actual val AppDatabase: Database
    get() = database